Skip to content

ci: Compile integration tests in CI#4907

Open
johnsaigle wants to merge 3 commits into
wormhole-foundation:mainfrom
johnsaigle:fix-compile-integration-tests-ci
Open

ci: Compile integration tests in CI#4907
johnsaigle wants to merge 3 commits into
wormhole-foundation:mainfrom
johnsaigle:fix-compile-integration-tests-ci

Conversation

@johnsaigle

@johnsaigle johnsaigle commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Adds a Makefile target that compiles the Go integration tests (gated by the -integration flag).

These tests currently get run manually during development, and not as a part of CI. This is fine, but recent refactoring has introduced syntax errors that we would not have seen until the next time these tests were run.

This PR ensures that the integration tests continue to compile by doing a fast, cheap build step as part of the node-tests CI target. If syntax errors occur, CI will fail.

This PR also adds minimal fixes for the existing syntax errors.

Update the live integration test to call the package-level
validateTransactionResult function introduced in wormhole-foundation#4705. This preserves the
same validation behavior; only the obsolete Parser receiver is removed.

Drop the tagged synthetic failure and empty-result cases because equivalent
tests already run in parse_test.go without build tags. The XRPL package passes
both its normal tests and integration-tagged compile check.
SuiTransaction.Digest was renamed to TxDigest in commit 518d13e (PR wormhole-foundation#4850). The live integration test was not updated.

Fixed the test by:
- Using tx.TxDigest.
- Retaining the nil check.
- Adding an equality assertion against the requested digest.
@johnsaigle
johnsaigle marked this pull request as ready for review July 20, 2026 10:33
Comment thread node/pkg/watchers/xrpl/parse_integration_test.go
@johnsaigle
johnsaigle requested a review from mdulin2 July 22, 2026 12:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants